package com.company.user.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel("登陆返回")
public class LoginResp implements Serializable {

    @ApiModelProperty("用户信息")
    private UserInfoResp userInfoResp;

    @ApiModelProperty("登陆令牌")
    private String token;

    @ApiModelProperty(value = "登录者职位")
    private String loginRole;

    public UserInfoResp getUserInfoResp() {
        return userInfoResp;
    }

    public void setUserInfoResp(UserInfoResp userInfoResp) {
        this.userInfoResp = userInfoResp;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getLoginRole() {
        return loginRole;
    }

    public void setLoginRole(String loginRole) {
        this.loginRole = loginRole;
    }
}
